import { request, config } from 'utils'

const { api } = config

const {
  getUserInfo,
} = api

export function queryUserInfo(data) {
  return request({
    url: getUserInfo,
    data,
    method: 'post',
    headers: {
      'Content-type': 'application/x-www-form-urlencoded'
    },
  })
}
